encoding/json.encodeState.error (method)
12 uses
encoding/json (current package)
encode.go#L300: func (e *encodeState) error(err error) {
encode.go#L450: e.error(&MarshalerError{v.Type(), err, "MarshalJSON"})
encode.go#L469: e.error(&MarshalerError{v.Type(), err, "MarshalJSON"})
encode.go#L485: e.error(&MarshalerError{v.Type(), err, "MarshalText"})
encode.go#L499: e.error(&MarshalerError{v.Type(), err, "MarshalText"})
encode.go#L533: e.error(&UnsupportedValueError{v, strconv.FormatFloat(f, 'g', -1, int(bits))})
encode.go#L578: e.error(fmt.Errorf("json: invalid number literal %q", numStr))
encode.go#L664: e.error(&UnsupportedTypeError{v.Type()})
encode.go#L734: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
encode.go#L748: e.error(fmt.Errorf("json: encoding error for type %q: %q", v.Type().String(), err.Error()))
encode.go#L817: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
encode.go#L873: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |